package com.sun.androidexerciseproject.function.singleInstance;

/**
 * Description:
 * File: LazySingleInstance.java
 * Author: Administrator
 * Create: 2018/11/29 0029 上午 9:47
 */
public class LazySingleInstance {
    private static LazySingleInstance INSTANCE = null;

    private LazySingleInstance() {

    }

    public static LazySingleInstance getInstance() {
        if (null == INSTANCE) {
            INSTANCE = new LazySingleInstance();
        }
        return INSTANCE;
    }
}
